Learn how to create a PostgreSQL schema before Liquibase execution in Spring Boot.
Search Results for: %s
Finding the Parent of a Node in a Binary Search Tree with Java
BSTs efficiently solve problems, including finding a node’s parent. Learn approaches to locate a node’s parent, considering edge cases.
Custom Event Handlers and Listeners in Netty
Learn to make a basic chat room using Netty. Key features include custom event handlers, server bootstrapping, and event listeners.
How to Pretty-Print a Map in Java
Learn different approaches for pretty-printing maps in Java.
Message Acknowledgement in Spring Cloud AWS SQS v3
Learn how to use the Spring Cloud AWS SQS v3 library to interact with AWS queues with different message acknowledgement modes.
OAuth2 Backend for Frontend With Spring Cloud Gateway
In this tutorial, we implement the OAuth2 Backend for Frontend (BFF) pattern with Spring Cloud Gateway and spring-addons.
Logging With AOP in Spring
A quick tutorial on AOP logging with Spring.
Set an Environment Variable at Runtime in Java
Learn how to have more control over the environment variables, especially for test scenarios.
Read Multiple Messages with Apache Kafka
Explore how the Kafka Consumer retrieves messages from the broker.
All the Ways Java Uses the Colon Character
Learn how Java uses the colon character in a variety of different ways.
Context-Specific Deserialization Filters in Java 17
Explore Java’s latest enhancement, Context-Specific Deserialization Filter (JEP 415), in action.
Working with Exceptions in Java CompletableFuture
Explore the ways to handle exceptions that occur in CompletableFuture stages.
Splitting Streams in Kafka
Explore how to dynamically route messages in Kafka Streams.
PrintWriter vs. FileWriter in Java
Learned the basic usage of FileWriter and PrintWriter with example code and understand their differences.
Retry Logic with CompletableFuture
Learn how to apply retry logic to CompletableFuture objects.
How to Center Text Output in Java
Learn multiple ways to center text output in Java: String formatting, StringBuilder, and StringUtils from the Apache Commons Lang libraries.
Drawbacks of the Singleton Design Pattern
Learn the general drawbacks of the Singleton design pattern and check out some alternatives.
Partition a Stream in Java
Explore various ways of partitioning a Stream in Java.
String Templates in Java 21
Explore several String composition techniques and understand the idea behind String interpolation.
Overview of Mockito MockedConstruction
A quick and practical guide to Mockito’s MockedConstruction.